package cn.xudy.sos.controller;

import cn.xudy.sos.model.User;

import org.springframework.web.bind.annotation.*;




@RestController
@RequestMapping("/")
public class TextController {

    @PostMapping(value = "/log")
    public String  saveCuringEvidence(@RequestBody User user){

        System.out.println("---------------------user:"+user.getUsername());

        return user.getUsername();
    }

}
